home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / VENKMAN.XPI / bin / chrome / venkman.jar / content / venkman / venkman-menus.xul < prev    next >
Encoding:
Extensible Markup Language  |  2004-04-18  |  5.6 KB  |  167 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.    -
  5.    - ***** BEGIN LICENSE BLOCK *****
  6.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  7.    -
  8.    - The contents of this file are subject to the Mozilla Public License Version
  9.    - 1.1 (the "License"); you may not use this file except in compliance with
  10.    - the License. You may obtain a copy of the License at
  11.    - http://www.mozilla.org/MPL/
  12.    -
  13.    - Software distributed under the License is distributed on an "AS IS" basis,
  14.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  15.    - for the specific language governing rights and limitations under the
  16.    - License.
  17.    -
  18.    - The Original Code is The JavaScript Debugger.
  19.    -
  20.    - The Initial Developer of the Original Code is
  21.    - Netscape Communications Corporation.
  22.    - Portions created by the Initial Developer are Copyright (C) 1998
  23.    - the Initial Developer. All Rights Reserved.
  24.    -
  25.    - Contributor(s):
  26.    -   Robert Ginda, <rginda@netscape.com>, original author
  27.    -
  28.    - Alternatively, the contents of this file may be used under the terms of
  29.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  30.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  31.    - in which case the provisions of the GPL or the LGPL are applicable instead
  32.    - of those above. If you wish to allow use of your version of this file only
  33.    - under the terms of either the GPL or the LGPL, and not to allow others to
  34.    - use your version of this file under the terms of the MPL, indicate your
  35.    - decision by deleting the provisions above and replace them with the notice
  36.    - and other provisions required by the GPL or the LGPL. If you do not delete
  37.    - the provisions above, a recipient may use your version of this file under
  38.    - the terms of any one of the MPL, the GPL or the LGPL.
  39.    -
  40.    - ***** END LICENSE BLOCK ***** -->
  41.  
  42. <!DOCTYPE overlay SYSTEM "chrome://venkman/locale/venkman.dtd" >
  43.  
  44. <?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  45.  
  46. <overlay id="venkman-menu-overlay"
  47.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  48.  
  49.   <overlaytarget id="menu-overlay-target">
  50.  
  51.     <!-- Commands -->
  52.     <commandset id="venkman-commands">
  53.  
  54.       <!-- Edit commands -->
  55.       <commandset id="selectEditMenuItems"/>
  56.       <commandset id="globalEditMenuItems"/>
  57.       <commandset id="undoEditMenuItems"/>
  58.       <commandset id="clipboardEditMenuItems"/>
  59.       <command id="cmd_undo"/>
  60.       <command id="cmd_redo"/>
  61.       <command id="cmd_cut"/>
  62.       <command id="cmd_copy"/>
  63.       <command id="cmd_paste"/>
  64.       <command id="cmd_delete"/>
  65.       <command id="cmd_selectAll"/>
  66.  
  67.       <!-- Tasks commands, from overlay -->
  68.       <commandset id="tasksCommands"/>
  69.     </commandset>
  70.  
  71.     <!-- Keys -->
  72.  
  73.     <keyset id="venkmanKeys">
  74.       <key id="key:reloadui" modifiers="accel alt" key="R"
  75.         oncommand="if (typeof cmdReloadUI =='function') cmdReloadUI(); else window.location.href = window.location.href;"/>
  76.  
  77.       <!-- Edit keys -->
  78.       <key id="key_undo"/>
  79.       <key id="key_redo"/>
  80.       <key id="key_cut"/>
  81.       <key id="key_copy"/>
  82.       <key id="key_paste"/>
  83.       <key id="key_delete"/>
  84.       <key id="key_selectAll"/>
  85.  
  86.       <!-- Tasks keys, from overlay -->
  87.       <keyset id="tasksKeys"/>
  88.     </keyset>
  89.  
  90.     <!-- Main menu bar -->
  91.     <toolbox flex="1" id="main-toolbox" collapsed="true">
  92.       <menubar id="mainmenu" persist="collapsed" collapsed="true"
  93.         grippytooltiptext="&MenuBar.tooltip;">
  94.  
  95.         <!-- File menu placeholder, see venkman-menus.js -->
  96.         <menu id="mainmenu:file"/>
  97.   
  98.         <!-- Edit menu -->
  99.         <menu id="menu_Edit">
  100.           <menupopup id="menu_Edit_Popup">
  101.             <menuitem id="menu_undo"/>
  102.             <menuitem id="menu_redo"/>
  103.             <menuseparator/>
  104.             <menuitem id="menu_cut"/>
  105.             <menuitem id="menu_copy"/>
  106.             <menuitem id="menu_paste"/>
  107.             <menuitem id="menu_delete"/>
  108.             <menuseparator/>
  109.             <menuitem id="menu_selectAll"/>
  110.             <menuseparator/>
  111.             <menuitem id="menu_preferences"
  112.               oncommand="goPreferences('navigator', 'chrome://communicator/content/pref/pref-navigator.xul', 'navigator');"/>
  113.           </menupopup>
  114.         </menu> 
  115.   
  116.         <!-- View menu placeholder, see venkman-menus.js -->
  117.         <menu id="mainmenu:view"/>
  118.   
  119.         <!-- Debug menu placeholder, see venkman-menus.js -->
  120.         <menu id="mainmenu:debug"/>
  121.  
  122.         <!-- Profile menu placeholder, see venkman-menus.js -->
  123.         <menu id="mainmenu:profile"/>
  124.  
  125.         <!-- Tasks menu -->
  126.         <menu id="tasksMenu"/>
  127.  
  128.         <!-- Tasks menu -->
  129.         <menu id="windowMenu"/>
  130.  
  131.         <!-- Help menu -->
  132.         <!-- Mac expects a help menu with this ID, and there is nothing we can
  133.              do about it. -->
  134.         <menu id="menu_Help"/>
  135.       </menubar>  
  136.  
  137.       <!-- Debug toolbar -->
  138.       <toolbar id="maintoolbar-outer" collapsed="true"
  139.         grippytooltiptext="&DebugBar.tooltip;">
  140.         <hbox id="maintoolbar">
  141.         </hbox>
  142.     <!--
  143.         <textbox id="paint-hack"
  144.           style="border: none; background: none; height: 0px; width: 0px"/>
  145.     -->
  146.       </toolbar>
  147.  
  148.     </toolbox>  
  149.  
  150.   </overlaytarget>
  151.  
  152.   <!-- Statusbar (hey, it's /almost/ a menu) -->
  153.   <overlaytarget id="statusbar-overlay-target">
  154.     <statusbar class="chromeclass-status" id="status-bar" flex="1">
  155.       <statusbarpanel id="component-bar"/>
  156.       <statusbarpanel id="status-text" label="" flex="1"
  157.         crop="right"/>
  158. <!--
  159.       <statusbarpanel class="statusbarpanel-iconic" id="offline-status"
  160.         hidden="true" offline="true"/>
  161. -->
  162.     </statusbar>
  163.   </overlaytarget>
  164.  
  165. </overlay>
  166.   
  167.